import turtle

colors = ['red', 'orange', 'yellow', 'green']

for i in range(4):
    turtle.fillcolor(colors[i])
    turtle.begin_fill()
    turtle.goto(160-i*40, 0)
    turtle.goto(0, 160-i*40)
    turtle.goto(0,0)
    turtle.end_fill()




turtle.done()
